-- GENERATED SPELL FOR [Rockhide Boar] --


function spell0_524(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_524', 3000, 1)
end

function Sorts_524(pUnit, Event)
local choix_sorts_524 = math.random(0, 0)
if choix_sorts_524 == 0 then
pUnit:RegisterEvent('spell0_524', 1, 1)
end
end

function mob524_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_524', math.random(1500, 3000), 1)
end

function mob524_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob524_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob524_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(524, 1, 'mob524_Action')
RegisterUnitEvent(524, 2, 'mob524_Leave')
RegisterUnitEvent(524, 3, 'mob524_Kill')
RegisterUnitEvent(524, 4, 'mob524_Die')
